<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>箭头函数</title>
</head>
<body>

</body>


<script>

    function foo(){

    }


    let boo=function (){

    }

    /**
     *  只有一个返回值
     *  一条语句
    * */
    let foo1 = ()=> 34; // { return 34}
    let foo2=()=>console.log('hello');

    let foo3 = (param1)=>{
          //...
    }

    foo2();
  //  alert(foo1());


</script>


</html>